package excel

func (x *xlsx) AddTable(index any, hcell, vcell, format string) error {
	active_name, _, e := x.getSheetAndIndex(index)
	if e != nil {
		return e
	}

	return x.f.AddTable(active_name, hcell, vcell, format)
}
